<?php 
//$v = new ViewRender($context, $module, $controller, $action, $view, $viewType, $layoutName);
//$v->getImageUrl();
?>
<div class="login">
	<div class="top_login">
		<div class="tleft">
			<img alt="" src="<?php echo $this->getImageUrl(); ?>logo.png">
			<div class="vhead">
				<span>Version: </span><span class="version"><?php echo ApplicationConfig::getInstance()->getConfig(ApplicationConfig::VERSION)?></span>
			</div>
		</div>
		<div class="tright">
			<img alt="" src="<?php echo $this->getImageUrl(); ?>titile-login.png">
		</div>
	</div>
	<div class="mid_login">
		<img class="lock" alt="" src="<?php echo $this->getImageUrl(); ?>lock.png">
		<form action="" method="POST">
			<div class="info element"><?php if($this->hasError()==true) echo $this->getError();?></div>
			<div class="element">
				<div class="lb">Tên Đăng Nhập : </div> 
				<input class="ctr" type="text" name="username" placeholder="Nhập UserName" value="<?php echo $this->username?>">
			</div>
			<div class="element">
				<div class="lb">Mật Khẩu : </div> 
				<input class="ctr" type="password" name="password" value="<?php echo $this->password?>">
			</div>
			<button type="submit">Đăng Nhập</button>
		</form>
	</div>
	<p class="copyright">Copyright 2012 <a href="http://Ndev.com" target="_blank">Ndev.com</a>. All rights reserved.</p>
</div>

